.class public Les/ko;
.super Ljava/lang/Object;
.source "InfoNotifyFileTypeOpen.java"


# instance fields
.field private a:Z

.field private b:Z

.field private c:Z

.field private d:Z

.field private e:Z

.field private f:Ljava/lang/String;

.field private g:Ljava/lang/String;

.field private h:Ljava/lang/String;

.field private i:Ljava/lang/String;

.field private j:Ljava/lang/String;

.field private k:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-boolean v0, p0, Les/ko;->a:Z

    .line 3
    iput-boolean v0, p0, Les/ko;->b:Z

    .line 4
    iput-boolean v0, p0, Les/ko;->c:Z

    .line 5
    iput-boolean v0, p0, Les/ko;->d:Z

    .line 6
    iput-boolean v0, p0, Les/ko;->e:Z

    const-string v0, "notificationbar"

    .line 7
    iput-object v0, p0, Les/ko;->f:Ljava/lang/String;

    const-string v0, "videoOpen"

    .line 8
    iput-object v0, p0, Les/ko;->g:Ljava/lang/String;

    const-string v0, "musicOpen"

    .line 9
    iput-object v0, p0, Les/ko;->h:Ljava/lang/String;

    const-string v0, "documentOpen"

    .line 10
    iput-object v0, p0, Les/ko;->i:Ljava/lang/String;

    const-string v0, "zipOpen"

    .line 11
    iput-object v0, p0, Les/ko;->j:Ljava/lang/String;

    const-string v0, "1MFileOpen"

    .line 12
    iput-object v0, p0, Les/ko;->k:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public a()V
    .locals 6

    .line 11
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v0

    .line 12
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v1

    invoke-virtual {v1}, Lcom/estrongs/android/pop/o;->j0()Z

    move-result v1

    const-string v2, "new_file_notificationbar_setting"

    .line 13
    invoke-virtual {v0, v2}, Lcom/estrongs/android/pop/o;->b(Ljava/lang/String;)Ljava/util/Set;

    move-result-object v3

    const/4 v4, 0x0

    if-nez v1, :cond_c

    const-string v1, "1MB"

    if-eqz v3, :cond_1

    .line 14
    invoke-interface {v3}, Ljava/util/Set;->size()I

    move-result v3

    if-eqz v3, :cond_0

    goto :goto_0

    .line 15
    :cond_0
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v0

    invoke-virtual {v0, v4}, Lcom/estrongs/android/pop/o;->e(Z)V

    goto/16 :goto_6

    .line 16
    :cond_1
    :goto_0
    new-instance v3, Ljava/util/HashSet;

    invoke-direct {v3}, Ljava/util/HashSet;-><init>()V

    const-string v4, "img"

    .line 17
    invoke-interface {v3, v4}, Ljava/util/Set;->add(Ljava/lang/Object;)Z

    const-string v4, "apk"

    .line 18
    invoke-interface {v3, v4}, Ljava/util/Set;->add(Ljava/lang/Object;)Z

    .line 19
    invoke-interface {v3, v1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z

    .line 20
    iget-boolean v4, p0, Les/ko;->a:Z

    const-string v5, "vid"

    if-eqz v4, :cond_2

    .line 21
    invoke-interface {v3, v5}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_3

    .line 22
    invoke-interface {v3, v5}, Ljava/util/Set;->add(Ljava/lang/Object;)Z

    goto :goto_1

    .line 23
    :cond_2
    invoke-interface {v3, v5}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z

    .line 24
    :cond_3
    :goto_1
    iget-boolean v4, p0, Les/ko;->b:Z

    const-string v5, "mus"

    if-eqz v4, :cond_4

    .line 25
    invoke-interface {v3, v5}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_5

    .line 26
    invoke-interface {v3, v5}, Ljava/util/Set;->add(Ljava/lang/Object;)Z

    goto :goto_2

    .line 27
    :cond_4
    invoke-interface {v3, v5}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z

    .line 28
    :cond_5
    :goto_2
    iget-boolean v4, p0, Les/ko;->c:Z

    const-string v5, "doc"

    if-eqz v4, :cond_6

    .line 29
    invoke-interface {v3, v5}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_7

    .line 30
    invoke-interface {v3, v5}, Ljava/util/Set;->add(Ljava/lang/Object;)Z

    goto :goto_3

    .line 31
    :cond_6
    invoke-interface {v3, v5}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z

    .line 32
    :cond_7
    :goto_3
    iget-boolean v4, p0, Les/ko;->d:Z

    const-string v5, "zip"

    if-eqz v4, :cond_8

    .line 33
    invoke-interface {v3, v5}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_9

    .line 34
    invoke-interface {v3, v5}, Ljava/util/Set;->add(Ljava/lang/Object;)Z

    goto :goto_4

    .line 35
    :cond_8
    invoke-interface {v3, v5}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z

    .line 36
    :cond_9
    :goto_4
    iget-boolean v4, p0, Les/ko;->e:Z

    if-eqz v4, :cond_a

    .line 37
    invoke-interface {v3, v1}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_b

    .line 38
    invoke-interface {v3, v1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z

    goto :goto_5

    .line 39
    :cond_a
    invoke-interface {v3, v1}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z

    .line 40
    :cond_b
    :goto_5
    invoke-virtual {v0, v2, v3}, Lcom/estrongs/android/pop/o;->a(Ljava/lang/String;Ljava/util/Set;)V

    .line 41
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/o;->e(Z)V

    goto :goto_6

    .line 42
    :cond_c
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v0

    invoke-virtual {v0, v4}, Lcom/estrongs/android/pop/o;->e(Z)V

    :goto_6
    return-void
.end method

.method public a(Lorg/json/JSONObject;)V
    .locals 2

    .line 1
    invoke-virtual {p1}, Lorg/json/JSONObject;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "1MFileOpen"

    invoke-static {v1, v0}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;)V

    if-nez p1, :cond_0

    return-void

    .line 2
    :cond_0
    :try_start_0
    iget-object v0, p0, Les/ko;->f:Ljava/lang/String;

    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 3
    iget-object v0, p0, Les/ko;->f:Ljava/lang/String;

    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object p1

    .line 4
    iget-object v0, p0, Les/ko;->g:Ljava/lang/String;

    const/4 v1, 0x0

    invoke-virtual {p1, v0, v1}, Lorg/json/JSONObject;->optBoolean(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Les/ko;->a:Z

    .line 5
    iget-object v0, p0, Les/ko;->h:Ljava/lang/String;

    invoke-virtual {p1, v0, v1}, Lorg/json/JSONObject;->optBoolean(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Les/ko;->b:Z

    .line 6
    iget-object v0, p0, Les/ko;->i:Ljava/lang/String;

    invoke-virtual {p1, v0, v1}, Lorg/json/JSONObject;->optBoolean(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Les/ko;->c:Z

    .line 7
    iget-object v0, p0, Les/ko;->j:Ljava/lang/String;

    invoke-virtual {p1, v0, v1}, Lorg/json/JSONObject;->optBoolean(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Les/ko;->d:Z

    .line 8
    iget-object v0, p0, Les/ko;->k:Ljava/lang/String;

    invoke-virtual {p1, v0, v1}, Lorg/json/JSONObject;->optBoolean(Ljava/lang/String;Z)Z

    move-result p1

    iput-boolean p1, p0, Les/ko;->e:Z

    .line 9
    invoke-virtual {p0}, Les/ko;->a()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 10
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    :cond_1
    :goto_0
    return-void
.end method
